package cn.zhibang.sannuo.maintenance.service.impl;

import cn.zhibang.sannuo.commons.model.CheckUp;
import cn.zhibang.sannuo.commons.model.Cudetails;
import cn.zhibang.sannuo.maintenance.dao.MCheckUpDao;
import cn.zhibang.sannuo.maintenance.service.MCheckUpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author admin
 * @version 1.0.0
 * @ClassName MCheckUpServiceImpl.java
 * @Description TODO
 * @createTime 2021年04月19日 14:10:00
 */
@Service
public class MCheckUpServiceImpl implements MCheckUpService {
    @Autowired private MCheckUpDao mCheckUpDao;


    @Override
    public List<CheckUp> selAllCheckUp() {
        return mCheckUpDao.selectAllCheckUp();
    }

    @Override
    public List<Cudetails> selAllCudetails(Integer cuid) {
        return mCheckUpDao.selectAllCudetails(cuid);
    }
}
